#ifndef CONSTANTS_H_
#define CONSTANTS_H_

#include <e32base.h>

class Context;

//逗号分隔符
#define CONSTANTS_COMMA 		","

//处理字符时所采用的字符集
#define CONSTANTS_CHARSET		"UTF-8"

//发送请求所需等待的毫秒数
#define CONSTANTS_WAIT_MSEL		30000

class Constants
	{
private:
	static Context*	iContext;
	
public:
	static Context* GetContext();
	static void SetContext(Context& context);
	
public:
	typedef enum tagLocation
		{
		ELocationComplete = 1
		, ELocationError = -1
		, ELocationChange = 2
		} TLocation;
	};

#endif 
